/**
 * Copyright &copy; 2012-2016 civet All rights reserved.
 */
package cn.mcsys.myadmin.modules.air.entity;

import cn.mcsys.myadmin.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

import java.util.Date;

/**
 * 信息报送Entity
 * @author 波波
 * @version 2018-08-17
 */
public class AirCarDispatchLog extends DataEntity<AirCarDispatchLog> {
	
	private static final long serialVersionUID = 1L;
	private String driver;		// 司机
	private Date date;		// 发车时间
	private String ridePointName;		// 发车出发点
	private String carNumber;		// 发车车牌
	private Integer status;		// 车辆状态
	private Integer seating;		// 座位数
	private Date modificationDate;		// 修改时间
	private String note;		// note
	
	public AirCarDispatchLog() {
		super();
	}

	public AirCarDispatchLog(Integer id){
		super(id);
	}

	@Length(min=0, max=255, message="司机长度必须介于 0 和 255 之间")
	public String getDriver() {
		return driver;
	}

	public void setDriver(String driver) {
		this.driver = driver;
	}
	
	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}
	
	@Length(min=0, max=255, message="发车出发点长度必须介于 0 和 255 之间")
	public String getRidePointName() {
		return ridePointName;
	}

	public void setRidePointName(String ridePointName) {
		this.ridePointName = ridePointName;
	}
	
	@Length(min=0, max=255, message="发车车牌长度必须介于 0 和 255 之间")
	public String getCarNumber() {
		return carNumber;
	}

	public void setCarNumber(String carNumber) {
		this.carNumber = carNumber;
	}
	
	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
	
	public Integer getSeating() {
		return seating;
	}

	public void setSeating(Integer seating) {
		this.seating = seating;
	}
	
	public Date getModificationDate() {
		return modificationDate;
	}

	public void setModificationDate(Date modificationDate) {
		this.modificationDate = modificationDate;
	}
	
	@Length(min=0, max=255, message="note长度必须介于 0 和 255 之间")
	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}
	
}